-- GENERATED SPELL FOR [Elder Shaman Moky] --


function spell0_29733(pUnit, Event) --@Lightning Shield,n/a--
pUnit:FullCastSpellOnTarget(12550,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_29733', 0, 1)
end

function Sorts_29733(pUnit, Event)
local choix_sorts_29733 = math.random(0, 0)
if choix_sorts_29733 == 0 then
pUnit:RegisterEvent('spell0_29733', 1, 1)
end
end

function mob29733_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29733', math.random(1500, 3000), 1)
end

function mob29733_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29733_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29733_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29733, 1, 'mob29733_Action')
RegisterUnitEvent(29733, 2, 'mob29733_Leave')
RegisterUnitEvent(29733, 3, 'mob29733_Kill')
RegisterUnitEvent(29733, 4, 'mob29733_Die')
